Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sessions backround sharedworker truly shared #14180

Merged
merged 11 commits into from
Sep 27, 2024

Conversation

mroz22
Copy link
Contributor

@mroz22 mroz22 commented Sep 6, 2024

Description

Connect-iframe has been bundled into suite-web since the very beginning. This, however, caused a problem: the shared workers used for synchronizing device access between tabs were not really shared (between suite-web and connect) because there were two of them at the same time.

The tldr change by this PR is that from now on the single source of the sharedworker is @trezor/connect-web deployment and suite-web may be merely pointed to it.

Related Issue

Resolve #12002

Screenshots:

note: screenshots are outdated. I changed the naming later.

Before:
image

After:
image

Test env

@mroz22 mroz22 force-pushed the shared-sharedworker branch 6 times, most recently from b16feb9 to d4e3fa9 Compare September 8, 2024 14:59
@mroz22 mroz22 changed the title wip experiment [wip] fix: sessions backround sharedworker truly shared Sep 8, 2024
@mroz22 mroz22 force-pushed the shared-sharedworker branch 5 times, most recently from a30664f to c43f2b0 Compare September 24, 2024 15:06
@mroz22 mroz22 marked this pull request as ready for review September 24, 2024 16:56
@mroz22 mroz22 changed the title [wip] fix: sessions backround sharedworker truly shared fix: sessions backround sharedworker truly shared Sep 24, 2024
@marekrjpolak marekrjpolak merged commit 971409a into develop Sep 27, 2024
88 checks passed
@marekrjpolak marekrjpolak deleted the shared-sharedworker branch September 27, 2024 14:43
@mroz22 mroz22 mentioned this pull request Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

connect: webusb: sync broken - not shared sharedworker
3 participants